The
PlaySound Function
You can use
the PlaySound
The PlaySound
function allows you to specify a sound in one of three ways:
As a system alert, using the
alias stored in the WIN.INI file or the registry
As a filename
As a resource identifier
The PlaySound
You can use PlaySound
to play the sound synchronously or asynchronously, and to control the behavior
of the function in other ways when it must share system resources.
For examples
of how to use PlaySound in your Win32-based applications, see Playing
WAVE Resources